/**
 * MethodList.java
 * @author: liuex
 * 2008-1-17 ����12:35:18
 *
 * note: 
 */
package org.lex.reflect.browsing.view.browser;

import javax.swing.JList;

public class MethodList extends JList {
	private MethodListModel model = null;

	public MethodList() {
		this.setModel(this.getMethodModel());
	}

	public void setClass(Class<?> clazz) {
		this.getMethodModel().setClass(clazz);
	}

	private MethodListModel getMethodModel() {
		if (null == model)
			model = new MethodListModel();
		return model;
	}
}
